App = {};
App.Home = { 
    init : function() {        
		$('#slider').cycle({
			fx: 'fade',
			speed:   300, 
    		timeout: 3000, 
			pager:  '.controls'
		});
		$('.circles .items .col-lg-2 img').hover(function(){	
			src = 'assets/images/';
			$(this).attr('src',src + $(this).attr('src').split('/').reverse()[0].replace('.png','_hover.png'));
		},function(){
			$(this).attr('src',src + $(this).attr('src').split('/').reverse()[0].replace('_hover.png','.png'));
		});
    }
};
$(document).ready(function(){
	App.Home.init();	
});